package cn.itzqw.mapper;

import cn.itzqw.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {

    Employee selectEmployeeById(@Param("id") int id);

    /**
     * 根据指定部门id 查询出所有员工信息
     * @param id 部门ID
     * @return
     */
    List<Employee> selectEmployeesByDepartmentId(@Param("depart_id") Integer id);
}
